@import '~@/style/base.less';

@text_title: #666;
@space: 24px;
@vertical_space: 16px;
@color_tag: #f05168;
@hair_color: #E5E5E5;

.layout() {
  background: #ffffff;
  border-radius: 16px;
  margin: @vertical_space @space;
  h3 {
    color: @text_title;
    font-size: 28px;
    padding: 26px 28px;
    position: relative;
    .hairline(bottom, @hair_color);
    .frow(flex-start, center);
  }
}
.product_info {
  .layout(); 
  .product {
    .frow(space-between, center);
    padding: 26px 50px 26px  28px;
    &:not(:last-child) {
      position: relative;
      .hairline(bottom, @hair_color);
    }
    i {
      display: inline-block;
      flex: 0 0 auto;
      width: 40px;
      height: 40px;
      background: url('~@/assets/images/like.png') center no-repeat;
      background-size: 40px auto;
      &.like_icon_default {
        transform:  rotate(180deg);
        &.actived {
          background: url('~@/assets/images/liked.png') center no-repeat;
          transform:  rotate(360deg);
          background-size: 40px auto;
        }
      }
      &.like_icon {
        margin-left: 53px;
        &.actived {
          background: url('~@/assets/images/liked.png') center no-repeat;
          transform:  rotate(180deg);
          background-size: 40px auto;
        }
      }
    } 
  }

}

.input_wrap {
  flex: 1 1;
  display: flex;
  .layout();
  padding-bottom: 32px;
  position: relative;
  .input {
    flex: 1 0;
    background: #f8f8f8;
    border-radius: 8px;
    border: 0;
    padding: 24px 32px;
  }
  .input_num {
    position: absolute;
    font-size: 20px;
    right: 0;
    bottom: 0;
    i {
      color: @color_subtext;
    }
  }
}

.picture_wrap {
  .layout();
  .uplaod_wrap {
    padding: 24px 32px;
  }
}

.order_content {
  padding: 24px 32px;

}
.form_btn {
  padding :0 24px;
  .form_submit {
    display: block;
    width: 100%;
    height: 88px;
    border-radius: 16px;
    border: 0;
    margin-top: 40px;
    font-weight: bold;
    font-size: 34px;
    color: #fff;
    background: @color_theme;
    transition: 0.5s linear;
    transition-property: opacity;
    &:disabled {
      opacity: 0.5;
    }
  }
}

